<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .box {
        max-width: 600px;
        margin: 0 auto;
        background-color: #b0b0b0;
        -webkit-box-sizing: border-box;
         -moz-box-sizing: border-box;
          box-sizing: border-box;
        overflow: hidden;
    }
</style>
<body>
    <div class="box">
        123333333d sdn nanaassssssssssssssssssssssssssssssssssssssssssaasnsssssssssssssssssadasdsadasdsadsad fjsdbvsjvbsjbsbjbsjbbfbjfajbsabwqbfqbfaabbffbfs
    </div>
</body>
</html>